{assign var="seotitle" value=$product->seotitle}
{assign var="seokeywords" value=$product->seokeywords}
{assign var="seodescription" value=$product->seodescription}
{assign var='cat' value=$categorydata->GetCategory($product->cid)}
{include file="cell/header.tpl"}
	<div class="m-sub1 f-cb">
		<div class="m-bd">
			<div class="row cel12">
				<div class="col3">
					{include file="cell/sd-cat.tpl"}
				</div><!-- / -->
				<div class="col9">
					<div class="m-loc">
						<strong>您现在的位置：</strong>
						<a href="{$siteurl}">网站首页</a> <code>&gt;</code> 
						<a href="{formaturl type='category' siteurl=$siteurl name=$cat->filename}">{$cat->name}</a> <code>&gt;</code> 
						{$product->name}
					</div><!-- / -->
					<div class="m-content">
						<div class="row cel12 f-cb">
							<div class="col7 content-thumb">
								<img src="{$product->thumb}" width="100%" alt="{$product->name}">
							</div><!-- / -->
							<div class="col5">
								<ul class="content-addinfo">
									<li><strong>产品名称：</strong>{$product->name}</li>
									<li><strong>产品编号：</strong><span class="add-c1">{$product->filename}</span></li>
									<li><strong>产品浏览量：</strong><span class="add-c2">{$product->viewcount}</span></li>
								</ul><!-- / -->
							</div><!-- / -->
						</div><!-- / -->
						<div class="f-mt10"></div>
						<div class="m-link-p">
							{assign var="prevarticle" value=$productdata->GetPrevProduct($product)}
							{assign var="nextarticle" value=$productdata->GetNextProduct($product)}
							{if $prevarticle->name!=""}
							上一个产品：<a href="{formaturl type='product' siteurl=$siteurl name=$prevarticle->filename}">{$prevarticle->name}</a>&nbsp &nbsp &nbsp &nbsp
							{/if}
							{if $nextarticle->name!=""}
							下一个产品：<a href="{formaturl type='product' siteurl=$siteurl name=$nextarticle->filename}">{$nextarticle->name}</a>
							{/if}
						</div>
						<div class="f-mt10"></div>
						<img src="{$siteurl}/templets/{$templets->directory}/assets/img/m-tab.gif" alt="">
						<div class="f-mt10"></div>
						{$product->content}
						<div class="f-mt10"></div>
						<div class="m-box">
							<h4><span class="icon icon-link"></span> 相关产品</h4>
							<div class="f-mt10"></div>
							<div class="row cel12 f-cb">
								{assign var='plst' value=$productdata->TakeProductList($product->cid,0,4)}
								{foreach from=$plst item=pinfo}
								<div class="col3 f-tac">
									<a href="{formaturl type='product' siteurl=$siteurl name=$pinfo->filename}"><img src="{$pinfo->thumb}" width="100%" alt="{$product->name}">{$product->name}</a>
									
								</div><!-- / -->
								{/foreach}
							</div><!-- / -->
							<div class="f-mt10"></div>
						</div>
					</div><!-- / -->
				</div>
			</div><!-- / -->
		</div><!-- / -->
	</div><!-- / -->
{include file="cell/footer.tpl"}